﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Jquery.IDAL;


namespace Jquery.MvcProjectUnitTest
{
    [TestClass]
    public class BaseRepositoryTest
    {
        [TestMethod]
        public void Add()
        {
        //    IDBsession db;
        //    Modle.Action action = new Modle.Action();
        //    //action.ActionId = 5;
        //    action.ActionName = "bbbbbb";
        //    action.IsAllowedAllRoles = true;
        //    action.IsAllowedNoneRoles = true;
        //    db.ActionRepository.Add(action);
        //    db.SaveChanges();
        //    Assert.AreEqual(true, action.ActionId > 0);
        }
    }
}
